package com.woniuxy.lrz.carlproject.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.lrz.carlproject.controller.form.formgoods.GoodsCategoryAddOrUpdateForm;
import com.woniuxy.lrz.carlproject.controller.form.formgoods.GoodsCategoryFindForm;
import com.woniuxy.lrz.carlproject.model.GoodCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.lrz.carlproject.service.dto.dtogoods.GoodsCategoryDto;

import java.util.ArrayList;

/**
 * <p>
 * 商品分类表 服务类
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
public interface GoodCategoryService extends IService<GoodCategory> {

    boolean addGoodCategory(GoodsCategoryAddOrUpdateForm goodsCategoryAddOrUpdateForms);

    boolean deleteGoodCategory(Integer goodCategoryId);

    Page<GoodsCategoryDto> findGoodCateGory(GoodsCategoryFindForm goodsCategoryFindForm);

}
